Linux: Ubuntu upgrade gotchas

Last update: 10/19/2023, 9:59:09 AM

Upgrade to new release

If a new version is available on login Ubuntu says something like:

New release '23.04' available.
Run 'do-release-upgrade' to upgrade to it.

But if you run that the result is usually this:

Please install all available updates for your release before upgrading.

And even if you do that the latter message keeps popping up. The fix is to run this first:

sudo apt dist-upgrade
sudo shutdown -r now